function OnTriggerEnter(myCollider : Collider)
{
    if( collider.gameObject.name == "Coin" )
    {
        Destroy(collider.gameObject);
    }
}

//function OnColliderEnter (collision : Collision) {
//    if (collision.gameObject.tag!="Player")
//    	return; //Check that it's the player that collides else exit the function
//    
//    // @TODO:
//    // Increment score
//    
//    Destroy(gameObject);
//    //gameObject.active = false;
//  	//Destroy(gameObject);
//    //gameObject.renderer.enabled = false; //Disable this GameObject's renderer
//    //gameObject.collider.enabled = false; //Disable this GameObject's collider
//}